package edu.umbc.cs.cmsc471.mastermind;

public class EligGuessPair{
	Code code;
	boolean eligible;
	int fitness;
	
	public EligGuessPair(Code newCode)
	{
		code = newCode;
	}
	
	public EligGuessPair(Code newCode, boolean isEligible, int newFitness)
	{
		code = newCode;
		eligible = isEligible;
		fitness = newFitness;
	}
	
	public void setFitness(int newFitness)
	{
		fitness = newFitness;
	}
	
	public void setEligibility(boolean isEligible)
	{
		eligible = isEligible;
	}
	
	public Code getCode()
	{
		return code;
	}

	public boolean getEligibility()
	{
		return eligible;
	}
	
	public int getFitness()
	{
		return fitness;
	}

	/*
	public int compareTo(Object other) {
		Integer compared = fitness;
		Integer otherCompared = other.fitness;
		return compared.compareTo(otherCompared);
	}
	*/
}
